﻿<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:nwisdocs="http://wales.nhs.uk/nwis/docs"
	exclude-result-prefixes="xs xsi">

  <xsl:template name="document-characteristics">
    <div class="boxed-section" id="{local-name()}">
      <h2>Document characteristics</h2>
      <label>Medical record type</label>
      <span>
      <xsl:value-of select="nwisdocs:DocumentHeader/nwisdocs:AdditionalMetadata/nwisdocs:DocumentCharacteristics/nwisdocs:MedicalRecordType"/>
      </span>
      <br/>
      <label>Discipline</label>
      <span>
        <xsl:value-of select="nwisdocs:DocumentHeader/nwisdocs:AdditionalMetadata/nwisdocs:DocumentCharacteristics/nwisdocs:Discipline"/>
      </span>
    </div>
  </xsl:template>

</xsl:stylesheet>
